package com.test.entity;


import lombok.Data;

// 用户实体类

@Data
public class User {

    private String idNumber;
    private String userName;
    private String userAddress;
    private String userPhone;
    private String passWord;
    private boolean isAdmin;
}


//    /*==============================================================*/
//    /* Table: User                                                  */
//    /*==============================================================*/
//    create table User
//        (
//                idNumber             char(18) not null,
//                userName             varchar(20) not null,
//                userAddress          varchar(30) not null,
//                userPhone            varchar(11) not null,
//                passWord             varchar(30) not null,
//                isAdmin              bool not null,
//                primary key (idNumber)
//        );